package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.SpringLambDao;
import io.renren.modules.generator.entity.SpringLambEntity;
import io.renren.modules.generator.service.SpringLambService;



@Service("springLambService")
public class SpringLambServiceImpl implements SpringLambService {
	@Autowired
	private SpringLambDao springLambDao;
	
	@Override
	public SpringLambEntity queryObject(Long id){
		return springLambDao.queryObject(id);
	}
	
	@Override
	public List<SpringLambEntity> queryList(Map<String, Object> map){
		return springLambDao.queryList(map);
	}

	@Override
	public List<SpringLambEntity> timeList(Map<String, Object> map){return springLambDao.timeList(map);}

	@Override
	public int timeTotal(Map<String, Object> map){
		return springLambDao.timeTotal(map);
	}

	@Override
	public int queryTotal(Map<String, Object> map){
		return springLambDao.queryTotal(map);
	}
	
	@Override
	public void save(SpringLambEntity springLamb){
		springLambDao.save(springLamb);
	}
	
	@Override
	public void update(SpringLambEntity springLamb){
		springLambDao.update(springLamb);
	}
	
	@Override
	public void delete(Long id){
		springLambDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		springLambDao.deleteBatch(ids);
	}
	
}
